package com.java.cloud.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.cloud.storage.entity.Storage;

import java.util.Map;

/**
 * 库存
 *
 * @author jl
 * @since 2020-03-13 11:44:37
 */
public interface StorageService extends IService<Storage> {

	PageUtils queryPage(Map<String, Object> params);

	int decrease(Long productId, Integer count);
}

